﻿using System;
using MoonSharp.Interpreter;
using UnityEngine;

namespace Lua
{
	// Token: 0x020002F9 RID: 761
	[MoonSharpUserData]
	public static class Random
	{
		// Token: 0x170002D0 RID: 720
		// (get) Token: 0x060012AC RID: 4780 RVA: 0x000817FC File Offset: 0x0007F9FC
		public static Vector3 insideUnitCircle
		{
			get
			{
				return new Vector3(UnityEngine.Random.insideUnitCircle);
			}
		}

		// Token: 0x170002D1 RID: 721
		// (get) Token: 0x060012AD RID: 4781 RVA: 0x0008180D File Offset: 0x0007FA0D
		public static Vector3 insideUnitSphere
		{
			get
			{
				return new Vector3(UnityEngine.Random.insideUnitSphere);
			}
		}

		// Token: 0x170002D2 RID: 722
		// (get) Token: 0x060012AE RID: 4782 RVA: 0x00081819 File Offset: 0x0007FA19
		public static Vector3 onUnitSphere
		{
			get
			{
				return new Vector3(UnityEngine.Random.onUnitSphere);
			}
		}

		// Token: 0x170002D3 RID: 723
		// (get) Token: 0x060012AF RID: 4783 RVA: 0x00081825 File Offset: 0x0007FA25
		public static Quaternion rotation
		{
			get
			{
				return new Quaternion(UnityEngine.Random.rotation);
			}
		}

		// Token: 0x170002D4 RID: 724
		// (get) Token: 0x060012B0 RID: 4784 RVA: 0x00081831 File Offset: 0x0007FA31
		public static Quaternion rotationUniform
		{
			get
			{
				return new Quaternion(UnityEngine.Random.rotationUniform);
			}
		}

		// Token: 0x170002D5 RID: 725
		// (get) Token: 0x060012B1 RID: 4785 RVA: 0x0008183D File Offset: 0x0007FA3D
		public static float value
		{
			get
			{
				return UnityEngine.Random.value;
			}
		}

		// Token: 0x060012B2 RID: 4786 RVA: 0x00081844 File Offset: 0x0007FA44
		public static void InitState(int seed)
		{
			UnityEngine.Random.InitState(seed);
		}

		// Token: 0x060012B3 RID: 4787 RVA: 0x0008184C File Offset: 0x0007FA4C
		public static float Range(int min, int max)
		{
			return (float)UnityEngine.Random.Range(min, max);
		}

		// Token: 0x060012B4 RID: 4788 RVA: 0x00081856 File Offset: 0x0007FA56
		public static float Range(float min, float max)
		{
			return UnityEngine.Random.Range(min, max);
		}
	}
}
